home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Imagemaster d4.adf
/
apa.lzh
/
hlp_arexx5
< prev
next >
Wrap
Text File
|
1993-08-30
|
15KB
|
646 lines
\ApAssist
\: - This is the Quick Help for the ARexx in IM R/t -
\: ----------------------------------------------------------
\: Written by David E. Patterson
\: ----------------------------------------------------------
\font topaz.font 8
\tc 1
\wr
\lj
\dd "imh_descriptor"
\index "hlp_arexx2/askyn-cellular"
\toc "hlp_toc/toc"
\help "aa_help/help
\node "asterize"
\title "Asterize"
\next "autoactivate"
\prev ""
\{ \tc 15 Asterize/Ast \} - Puts a star-shaped effect on the screen.
\nw
Usage - '\{ \tc 15 asterize <red> <green> <blue> <width> <centersat>\} '
'\{ \tc 15 ast <red> <green> <blue> <width> <centersat>\} '
\{ \ts bu Sample Script\} :
options results;
'askrgb';
colors = result;
parse var colors red','grn','blu;
'askprop "Width(in pixels):"10 1 100';
size=result;
'askprop "% Center Saturation Percent:"50 0 100';
satur=result;
options;
'\{ \tc 15 asterize\} 'red grn blu size satur;
'redraw';
* User Interface: \{ \tc 11 Process Panel
Special Effects
Asterize\}
\endnode
\node "autoactivate"
\title "Auto Activate"
\next "autoprimary"
\prev "asterize"
\{ \tc 15 Autoactivate \} - Changes automatic re-activation of main control
panel.
\nw
Usage - '\{ \tc 15 autoactivate 0\} ' (off)
'\{ \tc 15 autoactivate 1\} ' (on)
\{ \ts bu Sample Script\} :
options results;
'askyn "Autoactivate ON" "Autoactivate OFF"';
flag = result;
options;
'\{ \tc 15 autoactivate\} ' flag;
* User Interface: \{ \tc 11 Display Panel
Auto-Activate\}
\endnode
\node "autoprimary"
\title "Auto Primary"
\next "autoredraw"
\prev "autoactivate"
\{ \tc 15 Autoprimary \} - Makes newly allocated buffer the primary buffer.
This directs the placement of new buffers. In Mode 0, the new buffer does
not become the primary unless there is no Primary Buffer. In Mode 1, the new
buffer always becomes the Primary Buffer.
\nw
Usage - '\{ \tc 15 autoprimary <mode>\} '
\{ \ts bu Sample Script\} :
options results;
'askyn "Autoprimary OFF" "Autoprimary ON"';
flag = result;
options;
'\{ \tc 15 autoprimary\} ' flag;
\endnode
\node "autoredraw"
\title "Auto Redraw"
\next "backuptoundo"
\prev "autoprimary"
\{ \tc 15 Autoredraw \} - Turns redraw on or off.
\nw
Usage - '\{ \tc 15 autoredraw <mode>\} '
\{ \ts bu Sample Script\} :
options results;
'askyn "Autoredraw OFF" "Autoredraw ON"';
flag = result;
options;
'\{ \tc 15 autoredraw\} ' flag;
\endnode
\node "backuptoundo"
\title "Backup to Undo"
\next "balance"
\prev "autoredraw"
\{ \tc 15 Backuptoundo \} - Copies the current primary buffer, making an UNDO
possible.
Used before a process is performed to copy the initial contents of the
primary buffer into the UNDO buffer, making an Undo possible.
\nw
Usage - '\{ \tc 15 backuptoundo\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 backuptoundo\} ';
'area';
'areafill 100 120 190';
\endnode
\node "balance"
\title "Balance"
\next "blenddefs"
\prev "backuptoundo"
\{ \tc 15 Balance \} - White correction.
This Arexx command will determine the correction necessary to make the
selected area 100% saturated white, and then will carry out the correction.
\nw
Usage - '\{ \tc 15 balance\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 balance\} ';
See also: \{ \ts b \tc 15 \link "gray" "hlp_arexx7/gray"\}
* User Interface: \{ \tc 11 Process Panel
Standard Adjustments
White Balance\}
\endnode
\node "blenddefs"
\title "Blend Definitions"
\next "blendext"
\prev "balance"
\{ \tc 15 Blenddefs \} - Returns path and extension of a saved blend.
\nw
Usage - '\{ \tc 15 blenddefs\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 blenddefs\} '
parse var result path ','extension;
options;
See also: \{ \ts b \tc 15 \link "imagedefs " "hlp_arexx7/imagedefs"
\link "macrodefs " "hlp_arexx8/macrodefs"
\link "palettedefs" "hlp_arexx9/palettedefs"
\link "renderdefs " "hlp_arexx10/renderdefs"\}
\endnode
\node "blendext"
\title "Blend Extensions"
\next "blendload"
\prev "blenddefs"
\{ \tc 15 Blendext \} - Set a new extension for loading and saving blends.
\nw
Usage - '\{ \tc 15 blendext <newext>\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 blendext .bld\} ';
See Also: \{ \ts b \tc 15 \link "imageext " "hlp_arexx7/imageext"
\link "macroext " "hlp_arexx8/macroext"
\link "paletteext" "hlp_arexx9/paletteext"
\link "renderext " "hlp_arexx10/renderext"\}
* User Interface: \{ \tc 11 Setup Panel
Blend Ext\}
\endnode
\node "blendload"
\title "Blend Load"
\next "blendpath"
\prev "blendext"
\{ \tc 15 Blendload \} - Loads a blend.
\nw
Usage - '\{ \tc 15 blendload <blendname>\} ' (without path or extension)
\{ \ts bu Sample Script\} :
'blendpath work:blends';
'\{ \tc 15 blendload myfile.ibp\} ';
'merge';
See Also: \{ \tc 15 \ts b \link "loadasblend " "hlp_arexx8/loadasblend"
\link "loadasbrush " "hlp_arexx8/loadasbrush"
\link "loadasprimary " "hlp_arexx8/loadasprimary"
\link "loadassecondary " "hlp_arexx8/loadassecondary"
\link "loadimask " "hlp_arexx8/loadimask"
\link "loadmask " "hlp_arexx8/loadmask"\}
* User Interface:\{ \tc 11 Process Panel
Load Blend\}
\endnode
\node "blendpath"
\title "Blend Path"
\next "Blueadj"
\prev "blendload"
\{ \tc 15 Blendpath \} - Set new path for loading and saving blends.
\nw
Usage - '\{ \tc 15 blendpath <newpath>\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 blendpath work:blends\} ';
'blendload myfile.ibp';
'merge';
See Also: \{ \tc 15 \ts b \link "imagepath " "hlp_arexx7/imagepath"
\link "macropath " "hlp_arexx8/macropath"
\link "palettepath" "hlp_arexx9/palettepath"
\link "renderpath " "hlp_arexx10/renderpath"\}
* User Interface: \{ \tc 11 Setup Panel
Blend Path\}
\endnode
\node "blueadj"
\title "Blue Adjust"
\next "bluecont"
\prev "blendpath"
\{ \tc 15 Blueadj \} - Changes the blue brightness of selected area.
\nw
Usage - '\{ \tc 15 blueadj <amount>\} '
\{ \tc 15 Amount: 0 - 100\}
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 blueadj 89\} ';
See Also: \{ \tc 15 \ts b \link "greenadj" "hlp_arexx7/greenadj"
\link "redadj " "hlp_arexx10/redadj"\}
* User Interface: \{ \tc 11 Process Panel
R,G,B Corrections
Blue\}
\endnode
\node "bluecont"
\title "Blue Contrast"
\next "blur"
\prev "blueadj"
\{ \tc 15 Bluecont \} - Changes the blue contrast for a selected area.
\nw
Usage - '\{ \tc 15 bluecont <%>\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 bluecont 89\} ';
See Also: \{ \ts b \tc 15 \link "greencont" "hlp_arexx7/greencont"
\link "redcont " "hlp_arexx10/redcont"\}
* User Interface: \{ \tc 11 Process Panel
R,G,B Corrections
Blue Cont.\}
\endnode
\node "blur"
\title "Blur"
\next "bprint"
\prev "bluecont"
\{ \tc 15 Blur \} - Creates a motion blur effect.
\nw
Usage - '\{ \tc 15 blur <length> <direction> [angle]\} '
\{ \tc 15 length - in pixels\}
\{ \tc 15 direction - 0 = up
1 = right
2 = down
3 = left
4 = arbitrary\}
\{ \tc 15 angle - angle of arbitrary direction\}
\{ \ts bu Sample Script:\}
'area';
'\{ \tc 15 blur 30 2 45\} ';
See Also: \{ \ts b \tc 15 \link "smear" "hlp_arexx11/smear"
\link "warp " "hlp_arexx12/warp"\}
* User Interface: \{ \tc 11 Process Panel
Geometric
Motion Blur\}
\endnode
\node "bprint"
\title "Blue Print"
\next "bright"
\prev "blur"
\{ \tc 15 Bprint \} - Converts a selected region to blue line art.
\nw
Usage - '\{ \tc 15 bprint\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 bprint\} ';
See Also: \{ \tc 15 \ts b \link "lineart" "hlp_arexx8/lineart" \}
* User Interface: \{ \tc 11 Process Panel
Special Effects
Blue Print\}
\endnode
\node "bright"
\title "Bright"
\next "buffers"
\prev "bprint"
\{ \tc 15 Bright \} - Changes the brightness of a selected area.
\nw
Usage - '\{ \tc 15 bright <%>\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 bright 40\} ';
See Also: \{ \tc 15 \ts b \link "contrast" "hlp_arexx6/contrast"\}
* User Interface: \{ \tc 11Process Panel
Standard Adjustments
Brightness\}
\endnode
\node "buffers"
\title "Buffers"
\next "cancel"
\prev "bright"
\{ \tc 15 Buffers \} - Returns information about all buffers.
\nw
Usage - '\{ \tc 15 buffers\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 buffers\} ';
buffs = result;
options;
parse var buffs buffname','buffnumber;
\endnode
\node "cancel"
\title "Cancel"
\next "caric"
\prev "buffers"
\{ \tc 15 Cancel \} - Equivalent to hitting the cancel gadget.
\nw
Usage - '\{ \tc 15 cancel\} '
\{ \ts bu Sample Script\} :
if(flag = 0) then;
do
'\{ \tc 15 cancel\} ';
end;
\endnode
\node "caric"
\title "Caricature"
\next "cdef"
\prev "cancel"
\{ \tc 15 Caric \} - Creates an optical distortion similar to a concave lens.
Edges of a selected region are pulled toward the center creating a
caricature.
\nw
Usage - '\{ \tc 15 caric <radius>\} '
\{ \ts bu Sample Script\} :
'area';
options results;
'askprop Radius: 50 0 100';
radius = result;
options;
'\{ \tc 15 caric\} ' radius;
* User Interface: \{ \tc 11 Process Panel
Geometric Transformations
Caricature\}
\endnode
\node "cdef"
\title "Color Definition"
\next "cellular"
\prev "caric"
\{ \tc 15 Cdef \} - Returns the average RGB, luma and variance of an area.
Examines a selected region and returns red, green, blue, average, luma, and
variance in a text string.
\nw
Usage - '\{ \tc 15 cdef\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 cdef\} ';
parse var result red','green','blue','average','variance;
options;
* User Interface:\tc 11 Process Panel
Define Color
\endnode
\node "cellular"
\title "Cellular / Cell"
\next "channel"
\prev "cdef"
\{ \tc 15 Cellular / Cell \} - Creates a \{ \ts i glass block effect\} .
Pixels are manipulated as points inside a cell, the resulting effect is
similar to looking through a wall of thick glass bricks.
\nw
Usage - '\{ \tc 15 cellular <red> <green> <blue> <cellsize> <borderflag>\} '
'\{ \tc 15 cell <red> <green> <blue> <cellsize> <borderflag>\} '
Red: 0 - 255
Green: 0 - 255
Blue: 0 - 255
Cellsize: (In Pixels)
Borderflag: 0 = No, 1 = Yes
\{ \ts bu Sample Script\} :
'area';
options results;
'askrgb';
colors = result;
parse var colors red','grn','blu;
'askprop Cell_Size: 50 0 100';
cell = result;
'askyn "No Border Flag" "Border Flag"';
flag = result;
options;
'\{ \tc 15 cellular\} ' red grn blu cell flag;
* User Interface: \{ \tc 11 Process Panel
Special Effects
Point Cellular\}
\endnode
\node "channel"
\title "Channel"
\next "clip"
\prev "cellular"
\{ \tc 15 Channel \} - Specifies colors to be affected by a blend.
\nw
Usage - '\{ \tc 15 channel <red> <green> <blue>\} '
Red: 0 = not affected, 1 = affected
Green: 0 = not affected, 1 = affected
Blue: 0 = not affected, 1 = affected
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 channel\} ' 0 1 0; /* green gun only */
'merge';
\endnode
\node "clip"
\title "Clip"
\next "cliphalf"
\prev "channel"
\{ \tc 15 Clip \} - Clips selected region to a new buffer
A selected region is clipped to a new buffer. If a buffer name is not
specified the program will automatically generate one.
\nw
Usage - '\{ \tc 15 clip [newname]\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 clip testbuff\} ';
See Also: \{ \tc 15 \ts b \link "cliphalf" "hlp_arexx5/cliphalf"\}
* User Interface: \{ \tc 11 Process Panel
Re-Sizing and Clipping
Clip Region\}
\endnode
\node "cliphalf"
\title "Clip_Half"
\next "Clip2"
\prev "clip"
\{ \tc 15 Cliphalf \} - Clips selected region to a buffer half it's size.
\nw
Usage - '\{ \tc 15 cliphalf [newname]\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 cliphalf testbuff\} ';
See Also: \{ \ts b \tc 15 \link "clip" "hlp_arexx5/clip"\}
* User Interface: \{ \tc 11 Process Panel
Re-Sizing and Clipping
Clip .5 X\}
\endnode
\node "Clip2"
\title "Clip 2X"
\next "close"
\prev "cliphalf"
\{ \tc 15 Clip2 \} - Doubles the selected region and clips it to a new
buffer.
\nw
Usage - '\{ tc 15 clip [newname]\} ';
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 clip2 testbuff\} ';
See Also: \{ \ts b \tc 15 \link "clip " "hlp_arexx5/clip"
\link "cliphalf" "hlp_arexx5/cliphalf"\}
* User Interface: \{ \tc 11 Process Panel
Re-Sizing and Clipping
Clip2\}
\endnode
\node "close"
\title "Close"
\next "colchange"
\prev "Clip2"
\{ \tc 15 Close \} - Immediate exit from Imagemaster.
Terminates operations immediately, unless used with the optional parameter
prompt. Adding the word 'prompt' allows the user to close or continue.
\nw
Usage - '\{ \tc 15 close [prompt]\} '
\{ \ts bu Sample Script\} :
if(flag = 0) then;
do
'\{ \tc 15 close prompt\} ';
end;
* User Interface: \{ \tc 11 Exit IM\}
\endnode
\node "colchange"
\title "Color Change"
\next ""
\prev "close"
\{ \tc 15 Colchange \} - Allows user to preset color change values.
Presets the color change values that are used for the grey balance, white
balance, geographic elevations, and shadowed geographic elevations.
\nw
Usage - '\{ \tc 15 colchange <red> <green> <blue> <average> <variance>\} '
\{ \TS BU Sample Script\} :
'area';
'\{ \TC 15 colchange 134 106 137 123 137\} ';
'balance';
* User Interface: \{ \tc 11 Process Panel
Standard Adjustments
Color Balance\}
\endnode